A
850
LIGHT_SPECS

# WARNING TO X-PLANE USERS
#
# This is an internal file that contains data for the built-in X-Plane lights.  It is closely tied to the X-Plane code and
# other internal stuff.  If you modify this file, your sim may stop working.  We do not recommend modifying this light as an
# add-on.  Any modifications to this file that work with the current version of X-Plane may crash the next version.  
# Please consider yourself warned.

# Note on orientation: a light's "front" face is TO the south - so if you are south of the light looking north - you see the light.
# Thus the standard direction vector for a directional light is 0,0,1 so it is pointing along the positive Z axis (south).
# In Sergio's textures, the default ground halo orientation is such that the RIGHT side of the halo will be aligned with the front/south
# of the light.

TEXTURE lights.png
X_DIVISIONS 8
Y_DIVISIONS 8

# 
# LIGHT SIZE and DECAY
# 

LIGHT_PARAMS 0.56 6000 1


# RGB - this isi the color to use for lights that are not textured.  Exception: animated lights are ALWAYS tinted.
#
# Lights are textured if (1) the user has tex'd lights checked or (2) the user has pixel shaders or (3) the light
# is an animated light and force-tex is true.

#			Name			MustTex		R	G	B	A	Pt Size	Texsize	Texture		Params
# 
LIGHT_FLASHING		flash_test				1.0	0.8	0.1   	1   	5       5	1	5	0.0	1.0	1.0    0.5
LIGHT_DIRECTIONAL 	dir_test		 		1.0	0.2	0.2   	1  	5	5      	1	6	1	0	0	0
LIGHT_ANIMATION		anim_test		1      		1	1	1	1   		5	3	1   	NULL
LIGHT_DIRECTIONAL	taxi_center_light			0	1 	0.3	1	2	2	4	5	0	0	0	1
LIGHT_DIRECTIONAL	taxi_edge_blue				0	0	1	1	2	2	3	5	0	0	0	1
LIGHT_GROUND		taxi_edge_blue_halo							1		3	3

# 
# CAR AND ROAD LIGHTS
# 
LIGHT_FLASHING		street_test				1	1	0.2	1	5	5	5	7	0	0	0	0.2
LIGHT_DIRECTIONAL	taillight				1	0	0	1	1	1	7	7	0	0.05	0.99	0
LIGHT_DIRECTIONAL	headlight				1	1	1	1	1	1	5	7	0	0.05	-0.99	0

# 
# AIRPLANE LIGHTS
# 
# LANDING LIGHTS AND TAXI LIGHTS - BIG BRIGHT AND DIRECTIONAL!
LIGHT_DIRECTIONAL	airplane_landing			1	1	1	1	4	2.5	1	7	0	0	-1	0
LIGHT_DIRECTIONAL	airplane_taxi				1	1	1	1	4	2	0	7	0	0	-1	0
# Pulsing Red Fuselage Lights - indicate engines are on
LIGHT_FLASHING		airplane_beacon				1	0	0	1	1.5	1.5	7	7	0	0.6	1	0
# White green and red - the nav beacons....
LIGHT_FLASHING		airplane_nav_tail			1	1	1	1	2	2	5	7	0	0	0	1
LIGHT_FLASHING		airplane_nav_left			1	0	0	1	1.5	1.5	7	7	0	0	0	1
LIGHT_FLASHING		airplane_nav_right			0	1	0	1	1.5	1.5	6	7	0	0	0	1
# Wing Strobes
LIGHT_FLASHING		airplane_strobe				1	1	1	1	3	3	3	7	0	0	0	1

# 
# Sergio's REAL airport lights ---------     parameters: cos(angle per side) = 1 - ( 1 / N )
# 
#LIGHT_ANIMATION 	beacon_green		1		1.5	-0.1 	1.0	1		8      	2	1       sim/graphics/animation/lights/airport_beacon
#LIGHT_ANIMATION 	beacon_white	 	1		1.5	-0.4 	1.0	1	      	8	0	1       sim/graphics/animation/lights/airport_beacon
LIGHT_ANIMATION		VASI			1		1.8	-0.9 	0.0	0.0		2.2	4	0	sim/graphics/animation/lights/vasi_papi
LIGHT_ANIMATION		VASI3			1		1.8	-0.9 	0.5	0.5		2.2	6	0	sim/graphics/animation/lights/vasi3
LIGHT_ANIMATION		appch_rabbit_o	 	1		0.0 	 1.0	2.0	1		4	4	6	sim/graphics/animation/lights/rabbit
LIGHT_ANIMATION		appch_rabbit_u	 	1		2.0 	-1.0	2.0	1		4	4	6	sim/graphics/animation/lights/rabbit
LIGHT_ANIMATION		appch_strobe_o	 	1		0.0 	 1.0 	2.0	0		4	4	6	sim/graphics/animation/lights/strobe
LIGHT_ANIMATION		appch_strobe_u	 	1		2.0 	-1.0 	2.0	0		4	4	6	sim/graphics/animation/lights/strobe

LIGHT_DIRECTIONAL	TDZL					1.0	1.0	1.0	1	1	4	5	2	0	0.05	0.99	0
LIGHT_GROUND		TDZL_halo								1		4	4

LIGHT_DIRECTIONAL	appch_w					1.0	1.0	1.0	1	1	1	2	6	0	0.05	0.99	0
LIGHT_DIRECTIONAL	appch_r					1.0	0.0	0.0	1	1	1	3	6	0	0.05	0.99	0
LIGHT_DIRECTIONAL	inset_appch_w				1.0	1.0	1.0	1	4	4	5	2	0	0.05	0.99	0
LIGHT_GROUND		inset_appch_w_halo							1		4	4
LIGHT_DIRECTIONAL	inset_appch_r				1.0	0.0	0.0	1	4	4	7	2	0	0.05	0.99	0
LIGHT_GROUND		inset_appch_r_halo							1		6	4

LIGHT_DIRECTIONAL	edge_w					1.0	1.0	1.0	1	2	2	0	5	0	0.05	 0.99	0
LIGHT_DIRECTIONAL	edge_w_rev				1.0	1.0	1.0	1	2	2	0	5	0	0.05	-0.99	0
LIGHT_DIRECTIONAL	edge_y					1.0	1.0	0.0	1	2	2	1	5	0	0.05	 0.99	0
LIGHT_DIRECTIONAL	edge_y_rev				1.0	1.0	0.0	1	2	2	1	5	0	0.05	-0.99	0
LIGHT_DIRECTIONAL	edge_r					1.0	0.0	0.0	1	2	2	2	5	0	0.05	 0.99	0
LIGHT_DIRECTIONAL	edge_r_rev				1.0	0.0	0.0	1	2	2	2	5	0	0.05	-0.99	0

LIGHT_GROUND		edge_ww_halo								1		0	3	
LIGHT_GROUND		edge_yy_halo								1		1	3
LIGHT_GROUND_REV	edge_rw_halo								1		0	2	
LIGHT_GROUND_REV	edge_ry_halo								1		2	2
LIGHT_GROUND		edge_yw_halo								1		3	2
LIGHT_GROUND		edge_r_halo								1		2	4

LIGHT_DIRECTIONAL	inset_edge_w				1.0	1.0	1.0	1	5	4	5	2	0	0.05	 0.99	0
LIGHT_DIRECTIONAL	inset_edge_w_rev			1.0	1.0	1.0	1	5	4	5	2	0	0.05	-0.99	0
LIGHT_DIRECTIONAL	inset_edge_y				1.0	1.0	0.0	1	5	4	5	1	0	0.05	 0.99	0
LIGHT_DIRECTIONAL	inset_edge_y_rev			1.0	1.0	0.0	1	5	4	5	1	0	0.05	-0.99	0
LIGHT_DIRECTIONAL	inset_edge_r				1.0	0.0	0.0	1	5	4	7	2	0	0.05	 0.99	0
LIGHT_DIRECTIONAL	inset_edge_r_rev			1.0	0.0	0.0	1	5	4	7	2	0	0.05	-0.99	0

LIGHT_GROUND		inset_edge_w_halo							1		4	4
LIGHT_GROUND_REV	inset_edge_w_rev_halo							1		4	4
LIGHT_GROUND		inset_edge_y_halo							1		7	4
LIGHT_GROUND_REV	inset_edge_y_rev_halo							1		7	4
LIGHT_GROUND		inset_edge_r_halo							1		6	4
LIGHT_GROUND_REV	inset_edge_r_rev_halo							1		6	4

LIGHT_DIRECTIONAL	RCLS_w					1.0	1.0	1.0	1	5	4	5	2	0	0.5	 9.9	-9
LIGHT_DIRECTIONAL	RCLS_w_rev				1.0	1.0	1.0	1	5	4	5	2	0	0.5	-9.9	-9
LIGHT_DIRECTIONAL	RCLS_r					1.0	0.0	0.0	1	5	4	7	2	0	0.5	 9.9	-9
LIGHT_DIRECTIONAL	RCLS_r_rev				1.0	0.0	0.0	1	5	4	7	2	0	0.5	-9.9	-9

LIGHT_GROUND		RCLS_w_halo								1		4	4
LIGHT_GROUND_REV	RCLS_w_rev_halo								1		4	4
LIGHT_GROUND		RCLS_r_halo								1		6	4
LIGHT_GROUND_REV	RCLS_r_rev_halo								1		6	4

LIGHT_DIRECTIONAL	taxi_b					0.0	0.0	1.0	1	2	2	3	5	0.0	0.0	0.0	1.0
LIGHT_DIRECTIONAL	taxi_r					0.0	0.0	1.0	1	2	2	2	5	0.0	0.0	0.0	1.0
LIGHT_GROUND		taxi_b_halo								1		3	3
LIGHT_GROUND		taxi_r_halo								1		2	3

LIGHT_DIRECTIONAL	taxi_g					0.0	1.0	0.0	1	5	4	7	1	0	0.25	 4.95	-3.95
LIGHT_DIRECTIONAL	taxi_y					0.0	1.0	0.0	1	5	4	5	1	0	0.25	 4.95	-3.95
LIGHT_DIRECTIONAL	taxi_g_rev				0.0	1.0	0.0	1	5	4	7	1	0	0.25	-4.95	-3.95
LIGHT_DIRECTIONAL	taxi_y_rev				0.0	1.0	0.0	1	5	4	5	1	0	0.25	-4.95	-3.95
LIGHT_GROUND		taxi_g_halo								1		1	4
LIGHT_GROUND		taxi_y_halo								1		3	4
LIGHT_GROUND_REV	taxi_g_rev_halo								1		1	4
LIGHT_GROUND_REV	taxi_y_rev_halo								1		3	4

LIGHT_DIRECTIONAL	hold_short_y				0.0	1.0	0.0	1	5	4	5	1	0	0.5	 9.9	-9
LIGHT_GROUND		hold_short_y_halo							1		3	4

LIGHT_ANIMATION		wigwag_y1	 	1		2.0 	-1.0 	1.3	0		2	1	5	sim/graphics/animation/lights/wigwag
LIGHT_ANIMATION		wigwag_y2	 	1		2.0 	-1.0 	1.3	0.65		2	1	5	sim/graphics/animation/lights/wigwag
LIGHT_ANIMATION		hold_short_y1	 	1		2.0 	-1.0 	2.0	0		4	5	1	sim/graphics/animation/lights/wigwag
LIGHT_ANIMATION		hold_short_y2	 	1		2.0 	-1.0 	2.0	1.0		4	5	1	sim/graphics/animation/lights/wigwag

LIGHT_DIRECTIONAL	heli_y					1.0	1.0	0.0	1	2	2	1	5	0.0	0.0	0.0	1.0
LIGHT_GROUND		heli_y_halo								1		1	3

LIGHT_DIRECTIONAL	thresh_r				1.0	0.0	0.0	1	2	1.5	6	6	0	0.05	 0.99	0
LIGHT_DIRECTIONAL	thresh_r_rev				1.0	0.0	0.0	1	2	1.5	6	6	0	0.05	-0.99	0
LIGHT_DIRECTIONAL	thresh_g				0.0	1.0	0.0	1	2	1.5	5	6	0	0.05	 0.99	0
LIGHT_DIRECTIONAL	thresh_g_rev				0.0	1.0	0.0	1	2	1.5	5	6	0	0.05	-0.99	0

LIGHT_GROUND		thresh_g_halo								1		1	4
LIGHT_GROUND_REV	thresh_g_rev_halo							1		1	4
LIGHT_GROUND		thresh_r_halo								1		2	4
LIGHT_GROUND_REV	thresh_r_rev_halo							1		2	4
LIGHT_GROUND		thresh_gr_halo								1		1	2
LIGHT_GROUND		thresh_rr_halo								1		2	3

LIGHT_DIRECTIONAL	inset_thresh_r				1.0	0.0	0.0	1	5	5	7	2	0	0.05	 0.99	0
LIGHT_DIRECTIONAL	inset_thresh_r_rev			1.0	0.0	0.0	1	5	5	7	2	0	0.05	-0.99	0
LIGHT_DIRECTIONAL	inset_thresh_g				0.0	1.0	0.0	1	5	5	7	1	0	0.05	 0.99	0
LIGHT_DIRECTIONAL	inset_thresh_g_rev			0.0	1.0	0.0	1	5	5	7	1	0	0.05	-0.99	0

LIGHT_GROUND		inset_thresh_g_halo							1		5	4
LIGHT_GROUND_REV	inset_thresh_g_rev_halo							1		5	4
LIGHT_GROUND		inset_thresh_r_halo							1		6	4
LIGHT_GROUND_REV	inset_thresh_r_rev_halo							1		6	4

# 
# SHIPS AND SAILBOATS
# 
# LANDING LIGHTS AND TAXI LIGHTS - BIG BRIGHT AND DIRECTIONAL!
# http://www.boat-ed.com/pa/course/p3-5_navigationlights.htm
LIGHT_DIRECTIONAL	ship_nav_left				1	0	0	1	4	4	7	3	-0.86	0	-0.5	0
LIGHT_DIRECTIONAL	ship_nav_right				0	1	0 	1	4	4	6	1	0.86	0	-0.5	0
LIGHT_DIRECTIONAL	ship_mast_obs				1 	0	0 	1	2	2	7	3	0	0	0	1
LIGHT_DIRECTIONAL	ship_mast_grn				0	1	0 	1	2	2	6	1	0	0	0	1
LIGHT_DIRECTIONAL	ship_nav_tail				1	1	1	1	2	2	5	5	0	0.05	0.99	0
LIGHT_DIRECTIONAL	ship_mast_powered			1	1	1	1	2	2	5	5	0	0	-0.5	0.5

#LIGHT_DIRECTIONAL	carrier_datum				0	1	0	1	1	1	6	7	0	0.05	0.99	0
LIGHT_ANIMATION		carrier_datum			1	140	210	-10	10 		1	6	7	sim/graphics/animation/lights/fresnel_vertical
LIGHT_ANIMATION		carrier_waveoff			1	1 	0	0	1		2	7	7	sim/graphics/animation/lights/carrier_waveoff
LIGHT_ANIMATION		carrier_meatball1		1	140	210	0.0	3.25 		3	3	6	sim/graphics/animation/lights/fresnel_vertical
LIGHT_ANIMATION		carrier_meatball2		1	140	210	3.25	3.75 		3	6	6	sim/graphics/animation/lights/fresnel_vertical
LIGHT_ANIMATION		carrier_meatball3		1	140	210 	3.75	4.25 		3	6	6	sim/graphics/animation/lights/fresnel_vertical
LIGHT_ANIMATION		carrier_meatball4		1	140	210	4.25	4.75 		3	6	6	sim/graphics/animation/lights/fresnel_vertical
LIGHT_ANIMATION		carrier_meatball5		1	140	210	4.75	10   		3	6	6	sim/graphics/animation/lights/fresnel_vertical
LIGHT_FLASHING		carrier_mast_strobe			1	1	1	1	3	3	3	7	0	1	10	0
LIGHT_DIRECTIONAL	carrier_deck_blue_s			0	0	1	1	3	3	4	1	0	0	-0.9	0.1
LIGHT_DIRECTIONAL	carrier_deck_blue_w			0	0	1	1	3	3	4	1	0.9	0	0	0.1
LIGHT_DIRECTIONAL	carrier_deck_blue_n			0	0	1	1	3	3	4	1	0	0	0.9	0.1
LIGHT_DIRECTIONAL	carrier_deck_blue_e			0	0	1	1	3	3	4	1	-0.9	0	0	0.1
LIGHT_DIRECTIONAL	carrier_pitch_lights			1	0	0	1	2	2	7	7	0	0	50	-49
LIGHT_DIRECTIONAL	carrier_foul_line_red			1.0	0.0	0.0	1	5	5	7	2	0	0.5	9.9	-9
LIGHT_DIRECTIONAL	carrier_foul_line_white			1.0	1.0	1.0	1	5	5	5	2	0	0.5	9.9	-9
LIGHT_DIRECTIONAL	carrier_center_white			1.0	1.0	1.0	1	5	5	5	2	0	0.5	9.9	-9
LIGHT_DIRECTIONAL	carrier_edge_white			1.0	1.0	1.0	1	3	4	5	2	0	0.5	9.9	-9
LIGHT_DIRECTIONAL	carrier_thresh_white			1.0	1.0	1.0	1	5	5	5	2	0	0.5	9.9	-9

LIGHT_ANIMATION		frigate_SGSI_lo			1	140	220	-4   	2.5  		2	5	0	sim/graphics/animation/lights/fresnel_horizontal
LIGHT_ANIMATION		frigate_SGSI_on			1	140	220	2.5	3.5  		2	6	0	sim/graphics/animation/lights/fresnel_horizontal
LIGHT_ANIMATION		frigate_SGSI_hi			1	140	220	3.5	5    		2	7	0	sim/graphics/animation/lights/fresnel_horizontal
LIGHT_DIRECTIONAL	frigate_deck_green			0	1	0	1	2	2	6	3	0	0.05	0.99	0

LIGHT_FLASHING		oilrig_deck_blue			0	0	1	1	2	2	3	5	0	0	0	0

# 
# OLD OBJECTS
# 
LIGHT_ANIMATION		object_v7			0	1	1	1 	1		1	0	0	NULL



# 
# austin's misc lites
# austing uses these for all the cases you don't know about (weapons, boats, airplanes, UFO's, all the stuff you never considered)
# we use type LIGHT_ANIMATION to get a lite with the 'REN_slow_lightinfo' type
# do a search on oz_lite in the code to see where i use these... the params here are defaults, but i can over-ride
# 
LIGHT_ANIMATION		oz_lite				1	1	1	1 	1		1	3	7	NULL


